import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_emergency_accident_info_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/get_emergency_accident_info_entity.g.dart';

@JsonSerializable()
class GetEmergencyAccidentInfoEntity {

	GetEmergencyAccidentInfoEntity();

	factory GetEmergencyAccidentInfoEntity.fromJson(Map<String, dynamic> json) => $GetEmergencyAccidentInfoEntityFromJson(json);
	String? accidentDescription = '';
	String? accidentFileUrl = '';
	String? accidentLevel = '';
  String? accidentLevelName = '';
	String? accidentLocation = '';
	String? accidentName = '';
	String? accidentSummary = '';
	String? accidentType = '';
  String? accidentTypeName = '';
	String? companyCode = '';
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
	int? deathNum = 0;
	String? deleted = '';
	String? id = '';
	String? occurrenceTime = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';

	Map<String, dynamic> toJson() => $GetEmergencyAccidentInfoEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
